package com.neutech.view;

import java.util.Scanner;

public class foodView {
    static Scanner scanner = new Scanner(System.in);

    public static void foodmenu(){
        System.out.println("1.查询食品");
        System.out.println("2.添加食品");
        System.out.println("3.修改食品");
        System.out.println("4.删除食品");
        System.out.println("5.返回");

        int L = scanner.nextInt();
        if(L == 1){
            foodLogon.queryFood();
        } else if (L == 2) {
            foodLogon.addFood();
        } else if (L == 3) {
            foodLogon.updateFood();
        } else if (L == 4) {
            foodLogon.deleteFood();
        } else if (L == 5) {
            businessView.businessManageMenu();
        }
    }
}
